using System;
using Canlipe.ServiceInterfaces;
using Canlipe.Lib;
using Canlipe.Utils;
using System.IO;
using Ninject;
namespace Canlipe
{
	class MainClass
	{
		public static void Main (string[] args)
		{
            StandardKernel kernel = new StandardKernel();
            kernel.Bind<ILogger>().To<ConsoleLogger>();
            kernel.Bind<IContentParser>().To<MarkdownParser>();

			MainProcessor mp = kernel.Get<MainProcessor>();
			mp.SourceFolder = "DefaultSource";
			mp.OutputFolder = "Output";
			mp.BaseUrl = "http://localhost:8000/";

			mp.Run ();

            Console.WriteLine("Finished");
            Console.ReadKey();
		}
	}
}
